package com.chinacoal.microservice.api.fallback;

import java.util.List;

import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.api.TaskExtAttrRegisterClient;
import com.chinacoal.microservice.api.model.entity.UtaskAttrEntity;
import com.chinacoal.microservice.model.syscenter.ComboxEntity;
import com.chinacoal.microservice.util.result.CodeMsg;
import com.chinacoal.microservice.util.result.Result;

@Component
public class TaskExtAttrRegisterClientFallback implements TaskExtAttrRegisterClient {

	@Override
	public Result<Object> addRegAttr(UtaskAttrEntity utaskAttrEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> updateRegAttr(UtaskAttrEntity utaskAttrEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> deleteRegAttr(String attrId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Page<UtaskAttrEntity>> getList(Integer page, Integer pageSize, String expression) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<UtaskAttrEntity> getTaskAttr(String attrId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<List<ComboxEntity>> getTaskAttrComboBox() {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}
	
}
